<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>ready事件</title>
    <script src="jQuery/jquery-1.11.3.js"></script>

</head>
<body>
        <input type="button" value="点我">
        <script>
           $('document').ready(function () {
               alert('你呢')
       });
            $(function () {
                alert('哈哈');
                $('input').click(function () {
                    alert('点我')
                });
                console.log($('input'))
            })
        </script>
        <script>
            alert('呵呵')                              //下面的会被先执行
        </script>


</body>
</html>